package api

import (
	"github.com/gin-gonic/gin"
	"user-h2/api/handlers"
)

func LoadRouter(r *gin.Engine) {
	r.POST("/api/user/c/register", handlers.Register)
	r.POST("/api/user/c/login", handlers.Login)
	r.GET("/ws", handlers.WsFunc)
}
